package com.softtown.modules.dapai.service;


import com.github.pagehelper.PageInfo;
import com.softtown.common.service.BaseService;
import com.softtown.modules.dapai.dto.CompLeaseManagePageDTO;
import com.softtown.modules.dapai.dto.CompLeaseOrderPageDTO;
import com.softtown.modules.dapai.dto.LeaseManageAddOrUpdateDTO;
import com.softtown.modules.dapai.dto.LeaseOrderAddOrUpdateDTO;
import com.softtown.modules.dapai.entity.CompLeaseManageEntity;
import com.softtown.modules.dapai.entity.CompLeaseOrderEntity;
import com.softtown.modules.dapai.vo.CompLeaseManageVO;
import com.softtown.modules.dapai.vo.CompLeaseOrderVO;


/**
 * @Author: Ding Ya Yong
 * @Description: 租赁订单
 * @Date: 2021/12/24 21:18
 * @Param:
 * @return:
 **/
public interface CompLeaseManageService extends BaseService<CompLeaseManageEntity> {

    PageInfo<CompLeaseManageEntity> getLeaseManagePageList(CompLeaseManagePageDTO compLeaseManagePageDTO);


    CompLeaseManageVO getLeaseManageById (Long compId, Long id);


    void  addLeaseManage(LeaseManageAddOrUpdateDTO leaseManageAddOrUpdateDTO);

    void updateLeaseManage(LeaseManageAddOrUpdateDTO leaseManageAddOrUpdateDTO);

    void deleteLeaseManage(Long compId, Long id);

}
